package com.peng.test.netty;

import com.peng.rpc.annotation.ServiceScan;
import com.peng.rpc.netty.server.NettyRpcServer;
import com.peng.rpc.serializer.CommonSerializer;

@ServiceScan("com.peng.test.api.impl")
public class NettyTestServer {

    public static void main(String[] args) {
        NettyRpcServer rpcServer = new NettyRpcServer(CommonSerializer.PROTOBUF_SERIALIZER, "192.168.56.1",10000);
        rpcServer.start();
    }

}
